<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2019/1/8
  Time: 19:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<html>
<head>
    <title>Title</title>
</head>
<body>

<table>
    <tr><td>商务会员管理系统</td></tr>
    <tr>
        <td>用户名：</td><td>管理员：</td> <a href="#">退出</a>
    </tr>
    <tr>
        <td>
            <a>修改密码</a><br/>
            <a>查看所有会员</a><br/>
        </td>
        <td>
            <tr><td>会员管理</td></tr>
            <tr><td>用户名：<input type="text"><input type="submit" value="查找"></td></tr>
            <tr>
                <td>序号</td>
                <td>用户名</td>
                <td>用户类别</td>
                <td>用户状态</td>
                <td>最后修改时间</td>
            </tr>
    <c:forEach items="${list}" var="li">
        <td>${li.id}</td>
        <td>${li.name}</td>
        <td>${li.typeId}</td>
        <td>${li.status}</td>
        <td>${li.lastModifyTime}</td>
    </c:forEach>
        </td>

    <td>
        <p>共${pageTool.totalRecordCount}条数据，当前第 ${pageTool.currPageNo}/${pageTool.pageCount}页,每页${pageTool.pageSize}条

            <a href="${pageContext.request.contextPath}/user/list?title=${users.title}&typeId=${users.typeId}&createDate1=${users.createDate1}&createDate2=${users.createDate2}&currPageNo=1">首页</a>
            <a href="${pageContext.request.contextPath}/user/list?title=${users.title}&typeId=${users.typeId}&createDate1=${users.createDate1}&createDate2=${users.createDate2}&currPageNo=${pageTool.currPageNo-1}">上一页</a>

            <c:forEach var="prePage" items="${prePages}">
                <a href="${pageContext.request.contextPath}/user/list?typeName=${users.typeName}&parentId=${users.typeId}&currPageNo=${prePage}">${prePage}</a>
            </c:forEach>
            <b >${pageTool.currPageNo}</b>
            <c:forEach var="nextPage" items="${nextPages}">
                <a href="${pageContext.request.contextPath}/user/list?typeName=${users.typeName}&parentId=${users.typeId}&currPageNo=${nextPage}">${nextPage}</a>
            </c:forEach>

            <a href="${pageContext.request.contextPath}/user/list?title=${users.title}&typeId=${users.typeId}&createDate1=${users.createDate1}&createDate2=${users.createDate2}&currPageNo=${pageTool.currPageNo+1}">下一页</a>
            <a href="${pageContext.request.contextPath}/user/list?title=${users.title}&typeId=${users.typeId}&createDate1=${users.createDate1}&createDate2=${users.createDate2}&currPageNo=${pageTool.pageCount}">末页</a>

        </p>
    </td>
    </tr>





</table>

</body>
</html>
